home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FM Towns: Free Software Collection 9
/
FM Towns Free Software Collection 9.iso
/
t_os
/
tool
/
otohime
/
src
/
otohime.h
< prev
next >
Wrap
Text File
|
1994-11-16
|
2KB
|
63 lines
/* otosub */
extern int mouseSwCheck() ;
extern int sndPlay() ;
extern int sndBufTrans() ;
extern int unDo() ;
extern int setMsgColor( int, int ) ;
extern int sndInf() ;
extern int errorCheck( int ) ;
/* otfile */
extern int sndRec() ;
extern int sndMix() ;
/* oteff1 */
extern int sndEffectPhaseShift() ;
extern int sndEffectEcho() ;
extern int sndEffectVibrato() ;
extern int sndEffectTremolo() ;
/* oteff2 */
extern int sndEffectVoiceChange() ;
extern int sndEffectHarmony() ;
extern int sndEffectExpand() ;
extern int sndEffectLevel() ;
extern int sndEffectPitch() ;
extern int sndEffectSampSet() ;
/* oteff3 */
extern int sndEffectHead() ;
extern int sndEffectFade() ;
extern int sndBufSize ;
extern char * sndBuf1 ;
extern char * sndBuf2 ;
#define EXE_COLOR 14 /* 実行・再生時のコマンド表示カラー */
#define MOJI_COLOR 8 /* メッセージ表示カラー */
#define OUT_OF_MEMORY 7
#define ILLIGAL_FILENAME 55
#define ILLIGAL_DATA 58
#define CANT_LOAD 1
#define CANT_SAVE 2
/* SNDファイルのヘッダの構造体の型を定義 */
typedef struct
{
char name[8] ; /* サウンドネーム */
unsigned int id ; /* サウンドID */
unsigned int length ; /* データ幅 */
unsigned int looppoint ; /* ループポイント */
unsigned int looplength ; /* ループレングス */
unsigned short int freq ; /* サンプリング周波数f(Kz)*0x62 */
signed short int adjust ; /* 原音の補正値 */
unsigned char note ; /* 原音の音階 */
unsigned char reserve1 ; /* リザーブ */
unsigned short int reserve2 ; /* リザーブ */
} SNDHEAD ;